import request from '@/utils/request.js'
// import token from '@/utils/auth.js'
// const {setToken} = token()

//获取验证码
export function getCode() {
  return request({
    url: '/captchaImage'
    // responseType: 'blob'
  })
}
//登录
export function Login(data) {
  return request({
    url: '/login',
    method: 'post',
    data
  })
}
